package com.ruoyi.model.blog;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@TableName("web_blog_tag")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BlogTag implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 标签内容
     */
    @Excel(name = "标签id")
    @ApiModelProperty("标签id 支持手动输入标签，前端默认为【手动输入】字样")
    private String tagId;

    /**
     * 文章id
     */
    @Excel(name = "文章id")
    @ApiModelProperty("文章Id")
    private String blogId;

    /**
     * 逻辑删除
     */
    @Excel(name = "逻辑删除")
    @TableLogic
    private String isDel;

}
